package com.kujie.access.domain.vo;

import com.kujie.access.domain.po.RegionManagement;
import com.kujie.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

@Data
@AutoMapper(target = RegionManagement.class, reverseConvertGenerate = false)
public class RegionManagementVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 所属园区
     */
    private String affiliatedPark;

    /**
     * 区域查询id
     */
    private String indexCode;

    /**
     * 名称
     */
    private String name;

    /**
     * 父id
     */
    private String parentIndexCode;

    /**
     * 父级名称
     */
    private String parentName;


    /**
     * 创建时间
     */
    private Date createTime;
}
